<template>
  <div>组件测试</div>
  <button @click="showIconDialog = true">icon 选择弹窗</button>
  <ml-icon-dialog v-model="showIconDialog" @select-icon="selectedIcon" />
</template>
<script setup lang="ts">
import { ref } from 'vue'
import mlIconDialog from './components/mlIconDialog.vue'

const showIconDialog = ref(false)
function selectedIcon(icon: string, svg: string) {
  console.log('icon', icon)
  console.log('svg', svg)
}
</script>
